package com.gsm;

import com.gsm.config.CommonConfig;
import com.gsm.entity.Person;
import com.gsm.log.MyLogger;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class CommonMainStarter {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(CommonConfig.class);
		Person bean = ac.getBean(Person.class);
		MyLogger.log(bean);
	}
}
